package com.zjj.pojo.vo;

import java.io.Serial;
import java.io.Serializable;

public class UserRoleVo implements Serializable {


    @Serial
    private static final long serialVersionUID = -6329446984500321413L;
    private int id;//权限分配表Id
    private int userId;//用户Id
    private int roleId;//权限Id
    private String rolename;//权限名称

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }


    @Override
    public String toString() {
        return "UserRoleVo{" +
                "id=" + id +
                ", userId=" + userId +
                ", roleId=" + roleId +
                ", rolename='" + rolename + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }
}
